import React from 'react';
import {Link} from 'react-router';

export default class BtnHeader extends React.Component{
    constructor(props){
        super(props);
        this.state = null
    }
    render(){
        let properties = {
            to:this.props.to,
            className: this.props.className
        };
        return (
            <Link {...properties}>
                {this.props.name}
            </Link>
        )
    }
}